package com.aaa.bbb.mymaintain.service.impl;

import com.aaa.bbb.mymaintain.entity.Employee;
import com.aaa.bbb.mymaintain.dao.EmployeeDao;
import com.aaa.bbb.mymaintain.service.EmployeeSer;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author max
 * @since 2023-11-03
 */
@Service
public class EmployeeSerImpl extends ServiceImpl<EmployeeDao, Employee> implements EmployeeSer {

    @Override
    public List<Employee> queryByCodeType(String post) {
        return query().eq("post", post).list();
    }
}
